﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;
using WisDom.SmartTMS.Entities;
using WisDom.SmartTMS.Enums;

namespace WisDom.SmartTMS.Data
{
    public interface IBusinessAuditRepository : IRepository<BusinessAudit, Guid>
    {
        //返回根据主键和业务类型返回
        IQueryable<BusinessAudit> GetAuditById(Guid id, BusinessType businessType);

        //返回该业务类型所有的审核主信息
        IQueryable<BusinessAudit> GetAuditList(BusinessType businessType);
    }
}
